<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var p = prompt("请输入省份简称");
    if(p=="皖"){
        alert("安徽省");
    }else if(p=="云"){
        alert("云南省");
    } else{
        alert("no");
    }
</script>

</body>
</html>